// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) definits fieldsfirst ansi space safe 
// Source File Name:   AntiMothBeanInfo.java

package jones.behavior;

import java.awt.Image;
import java.beans.*;

public class AntiMothBeanInfo extends SimpleBeanInfo {

	private static final Class beanClass;

	public AntiMothBeanInfo() {
	}

	public PropertyDescriptor[] getPropertyDescriptors() {
		try {
			PropertyDescriptor propertyDescriptors[];
			PropertyDescriptor backupTime = new PropertyDescriptor("Backup time",
					beanClass, "getBackupTime", "setBackupTime");
			PropertyDescriptor spin = new PropertyDescriptor("Spin", beanClass,
					"getSpin", "setSpin");
			PropertyDescriptor random = new PropertyDescriptor("Random", beanClass,
					"getRandom", "setRandom");
			PropertyDescriptor forwardTime = new PropertyDescriptor("Forward time",
					beanClass, "getForwardTime", "setForwardTime");
			PropertyDescriptor threshold = new PropertyDescriptor("Threshold",
					beanClass, "getThreshold", "setThreshold");
			propertyDescriptors = (new PropertyDescriptor[] { backupTime, spin,
					random, forwardTime, threshold });
			return propertyDescriptors;
		} catch (IntrospectionException e) {
			throw new Error(e.toString());
		}
	}

	public Image getIcon(int iconKind) {
		if (iconKind == 3 || iconKind == 1)
			return null;
		if (iconKind == 4 || iconKind == 2)
			return null;
		else
			return null;
	}

	public BeanDescriptor getBeanDescriptor() {
		return new BeanDescriptor(beanClass);
	}

	static Class _mthclass$(String x0) {
		try {
			return Class.forName(x0);
		} catch (ClassNotFoundException x1) {
			throw new NoClassDefFoundError(x1.getMessage());
		}
	}

	static {
		beanClass = jones.behavior.AntiMoth.class;
	}
}
